package cn.ylz.ylmall.account.dao.persist.mapper;

import cn.ylz.ylmall.account.pojo.entity.UserAddress;
import cn.ylz.ylmall.account.pojo.vo.UserAddressListVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AddressMapper extends BaseMapper<UserAddress> {
    List<UserAddressListVO> addressListByUserId(Long id);

    UserAddressListVO addressByUserId(Long id);
}
